/**
 * 在这里则是state.文件名.状态名
 */
const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  userInfo: state => state.user.userInfo,
  loginFlag: state => state.user.loginFlag,
  menus: state => state.user.menus,
  avatar: state => state.user.avatar,
  carEditRow: state => state.data.carRow,
  name: state => state.user.name,
  terminalDtl: state => state.app.terminalDtl,
  roles: state => state.user.roles
}
export default getters
